function rights(url){
  this.rights_getlist = `${url}rights/getlist`;//权益列表（所有）接口 GET
  this.rights_getnopagelist = `${url}rights/getnopagelist`;//权益列表（不分页）接口 GET
  this.rights_insert = `${url}rights/insert`;//添加权益接口 POST
  this.rights_info = `${url}rights/info`;//权益详情接口 GET
  this.rights_save = `${url}rights/save`;//更新权益接口 POST
  this.rights_sort = `${url}rights/sort`;//修改权益排序接口 POST
  this.rights_status = `${url}rights/status`;//修改权益显示状态接口 POST
  this.rights_hot = `${url}rights/hot`;//修改权益热门状态接口 POST
  this.rights_searchHot = `${url}rights/searchHot`;//修改权益热门查找接口 POST
  this.rights_getnopagelist = `${url}rights/getnopagelist`;//权益列表（不分页）接口 GET
}

export default rights